feat: setup PyPI publishing infrastructure and v0.9.0-beta.1 release#22
Merged
feat: setup PyPI publishing infrastructure and v0.9.0-beta.1 release#22
Conversation
- Configure GitHub Actions for automated PyPI publishing with trusted publishing - Add comprehensive documentation (PUBLISHING.md) - Bump version to 0.9.0-beta.1 for beta testing phase - Update README with beta status and installation instructions - Add internationalization, security, and normalization test suites - Configure coverage enforcement at 85% minimum in CI
Coverage reportClick to see where and how coverage changed
This report was generated by python-coverage-comment-action |
||||||||||||||||||||||||||||||
johannschopplich
approved these changes
Nov 7, 2025
Contributor
johannschopplich
left a comment
There was a problem hiding this comment.
LGTM as far as I'm concerned. :)
Contributor
Author
|
I have to initiate this PR. I was waiting for someone else to do it, haha! |
Contributor
Author
|
Perhaps we should reduce it to just one approval? @johannschopplich |
Contributor
|
@Justar96 IMHO, a minimum approval of 2 sounds suitable for a team of 4. However, we can change that at any time. I was only tagged because of the README changes (as code owner). Maybe I'm gonna simplify that in the future as well. |
Contributor
Author
|
@johannschopplich Beta has been released, thank you guys! It's a bit janky with the auto release, but maybe you could help me set it up to be more robust. @bpradana |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Publishing Setup for v0.9.0-beta.1
Description
This PR adds the publishing documentation and configuration needed for releasing
toon_formatv0.9.0-beta.1 to PyPI. It builds on the comprehensive test suite and features already merged in PR #6.Type of Change
Related Issues
Addresses setup requirements for initial PyPI publication and beta testing phase.
Changes Made
1. Publishing Documentation
PUBLISHING.md- Complete 200+ line guide for releasing to PyPI:2. GitHub Actions Updates
publish.ymlworkflow:test.ymlworkflow:lint.ymlworkflow:dependabot.ymltemporarily:3. README Updates
4. Documentation Updates
docs/api.md:5. Version Bump
0.9.0-beta.1inpyproject.toml__version__insrc/toon_format/__init__.py6. Minor Code Updates
src/toon_format/utils.py:SPEC Compliance
This PR does not change spec compliance - it focuses on publishing infrastructure and documentation. Full spec compliance testing was completed in PR #6.
Testing
Test Output
All 792 existing tests continue to pass with the version bump:
Coverage Report:
Code Quality
ruff check src/toon_format tests- no issuesruff format src/toon_format tests- code formattedmypy src/toon_format- no critical errorspytest tests/ -vChecklist
Performance Impact
This PR only adds documentation and updates version numbers. No code changes that affect runtime performance.
Breaking Changes
All changes are documentation and configuration only. No API changes.
Screenshots / Examples
PUBLISHING.md Guide
The new publishing guide includes:
README Beta Warning
Added clear beta status indicator:
> **⚠️ Beta Status (v0.9.x):** This library is in active development and working towards spec compliance. Beta published to PyPI. API may change before 1.0.0 release.Publishing Workflow
The updated GitHub Actions workflow is ready for:
Automatic PyPI Release (on GitHub release creation):
Manual TestPyPI Release (workflow dispatch):
Additional Context
Release Roadmap
Following the agreed version strategy:
Next Steps After Merge
Re-tag v0.9.0-beta.1 on the merged commit:
Create GitHub Release for v0.9.0-beta.1:
Verify PyPI publication:
pip install toon_formatUpdate README (after successful publish):
Begin beta testing phase:
Checklist for Reviewers